
<!--判断浏览器是否是移动端-->
<script type="text/javascript">
//判断是否为手机浏览器
function loadCSS() {
 if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|wOSBrowser|BrowserNG|WebOS)/i))) {
  location.href='member.php?mod=logging&action=login&mobile=yes';
    }
    else {
	
	}
}
loadCSS();
 
</script>
<!--移动端结算-->
<style>
	.z{display:none;}
	</style>
<!--{template common/header}-->
<script>
  function   ChangeGif()
  {
  if   (document.all.icon.title=="保存密码")
  {
          document.all.icon.title="不保存"
          document.all.icon.src="./tubiao/jzmmno.png";
  }
  else{
          document.all.icon.title="保存密码"
          document.all.icon.src="./tubiao/jzmm.png";
          }
  }
  </script>
  
  <!--退出登陆跳转-->
<!--{if $_SERVER['PHP_SELF'].$_SERVER['QUERY_STRING']!="/member.phpmod=logging&action=login" && !$_G[uid] }-->
<script language="javascript" type="text/javascript"> 
// 以下方式直接跳转
window.location.href='member.php?mod=logging&action=login';
// 以下方式定时跳转
setTimeout("javascript:location.href='member.php?mod=logging&action=login'", 0); 
</script>
<!--{/if}-->
<!--退出登陆跳转结束-->

<!--登陆地址判断-->
<!--{if $_SERVER['HTTP_HOST']!="www.acglifan.cc" }-->
<script language="javascript" type="text/javascript"> 
// 以下方式直接跳转
window.location.href='https://www.acglifan.cc/member.php?mod=logging&action=login';
// 以下方式定时跳转
setTimeout("javascript:location.href='https://www.acglifan.cc/member.php?mod=logging&action=login'", 0); 
</script>
<!--{/if}-->
<!--结束-->

<!--{eval $loginhash = 'L'.random(4);}-->
<!--{if empty($_GET['infloat'])}--><style> .rfm a {color:#666;font-size:13px;} .dl a{padding-right:20px;}  #coeming_hd {height:200px;}.comicst-header-picarea {display: none;height: 0px;} body {margin:auto;display: block;font-family: "Microsoft YaHei";line-height: 1.8;text-shadow: 3px 3px 10px rgba(35,24,21,0.1);background: url(./tubiao/login-bj.jpg) no-repeat right 80px;}.rfm {padding-top:12px;width:300px;}.rfm th, .rfm td {padding:3px 2px;line-height: 24px;}.rfm .px {width: 280px;padding-left: 10px; } .px{height:38px;}#wp{min-height: 200px;}#nv_member {}</style>

<div id="ct" class="ptm wp w cl">
	
	<div class="nfl" id="main_succeed" style="display: none">
		<div class="f_c altw">
			<div class="alert_right">
				
				<p id="succeedmessage"></p>
				<p id="succeedlocation" class="alert_btnleft"></p>
				<p class="alert_btnleft"><a id="succeedmessage_href">{lang message_forward}</a></p>
			</div>
		</div>
	</div>
	
	<div class="mn" id="main_message" style="padding-bottom:180px;">
		<div class="bm">
	
		<div style="width:700px;height:357px;margin:auto;background:url(./tubiao/logintc.png) no-repeat center;">
<!--{/if}-->

<div id="main_messaqge_$loginhash"{if $auth} style="width: auto;padding-left:220px;"{/if} style="width: auto;padding-left:300px;">
	<div id="layer_login_$loginhash">
		<h3 class="flb" style="padding: 20px 10px 35px;height: 20px;line-height: 20px;">
			<em id="returnmessage_$loginhash">
				<!--{if !empty($_GET['infloat'])}--><!--{if !empty($_GET['guestmessage'])}-->{lang login_guestmessage}<!--{elseif $auth}-->{lang profile_renew}<!--{else}-->会员登录中心<!--{/if}--><!--{/if}-->
			</em>
			
			<span style="float: right;color: #E0D4D4;margin-top: 0px;"><!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET[handlekey]', 0, 1);" title="{lang close}">{lang close}</a><!--{/if}--></span>
		</h3>
		
	
		<!--{hook/logging_top}-->
		<form method="post" autocomplete="off" name="login" id="loginform_$loginhash" class="cl" onsubmit="{if $this->setting['pwdsafety']}pwmd5('password3_$loginhash');{/if}pwdclear = 1;ajaxpost('loginform_$loginhash', 'returnmessage_$loginhash', 'returnmessage_$loginhash', 'onerror');return false;" action="member.php?mod=logging&action=login&loginsubmit=yes{if !empty($_GET['handlekey'])}&handlekey=$_GET[handlekey]{/if}{if isset($_GET['frommessage'])}&frommessage{/if}&loginhash=$loginhash">
			<div class="c cl" style="margin-top:-50px;_margin-top:-50px;">
				<input type="hidden" name="formhash" value="{FORMHASH}" />
				<input type="hidden" name="referer" value="{echo dreferer()}" />
				<!--{if $auth}-->
					<input type="hidden" name="auth" value="$auth" />
				<!--{/if}-->
				
				<!--{if $invite}-->
				<div class="rfm">
					<table>
						<tr>
							<th>{lang register_from}</th>
							<td><a href="home.php?mod=space&uid=$invite[uid]" target="_blank">$invite[username]</a></td>
						</tr>
					</table>
				</div>
				<!--{/if}-->

				<!--{if !$auth}-->
					
				
				<div class="rfm">
					
					<table>
					<em style="font-size:16px;">账号/Account <em style="float:right;padding-top:5px;"><font size="2">
					<!--{hook/logging_side_top}-->
					<a href="member.php?mod={$_G[setting][regname]}" class="xi2">还没有账号？</a></font></em></em>	
					
						<tr>
						<!--
							<th>
								<!--{if $this->setting['autoidselect']}--><label for="username_$loginhash">{lang login_id}:</label><!--{else}-->
									<span class="login_slct">
										<select name="loginfield" style="float: left;" width="45" id="loginfield_$loginhash">
											<option value="username">{lang username}</option>
											<!--{if getglobal('setting/uidlogin')}-->
											<option value="uid">{lang uid}</option>
											<!--{/if}-->
											<option value="email">{lang email}</option>
										</select>
									</span>
								<!--{/if}-->
							</th>
							-->
							<td><input type="text" name="username" id="username_$loginhash" autocomplete="off" size="30" class="px p_fre" tabindex="1" value="$username" /></td>
							
						</tr>
					</table>
				</div>
				<div class="rfm">
					<table>
					<em style="font-size:16px;float:left;">密码/Password</em>
					<em style="display:none;font-size:12px;color:red;text-align:right;width:280px;" id="error">密码输入错误!</em>
						<tr>
							<!--<th><label for="password3_$loginhash">{lang login_password}:</label></th> -->
							<td style="padding:0px;"><input type="password" id="password3_$loginhash" name="password" onfocus="clearpwd()" size="30" class="px p_fre" tabindex="1" style="width:280px;padding-right: 40px;" /></td><td style="padding:0px;position: absolute;margin-left:-37px;" id="tanhao"><label for="cookietime_$loginhash"><input type="checkbox" class="pc" name="cookietime" id="cookietime_$loginhash" tabindex="1" value="2592000" $cookietimecheck  style="display:none;"/><img   name="icon"   onClick="ChangeGif();"   src="./tubiao/jzmmno.png"   title="不保存" height="37" id="imgjizhu"></label></td>
							
						</tr>
					</table>
				</div>
				<!--{/if}-->

				<!--{if empty($_GET['auth']) || $questionexist}-->
			
				<!--{/if}-->

				<!--{if $seccodecheck}-->
					<!--{block sectpl}--><div class="rfm"><table><tr><th><sec>: </th><td><sec><br /><sec></td></tr></table></div><!--{/block}-->
					<!--{subtemplate common/seccheck}-->
				<!--{/if}-->

				<!--{hook/logging_input}-->

				<div class="rfm {if !empty($_GET['infloat'])} bw0{/if}" ">
					<table>
						<tr>
						
						<td><button class="pn pnc" style="height:40px;width:100px;color: #666 !important;font-size:18px;border-radius: 3px;" type="submit" name="loginsubmit" value="true" tabindex="1">登录</button></td>	
					<td class="tipcol" style="padding-left:10px;"><a href="javascript:;" onclick="display('layer_login_$loginhash');display('layer_lostpw_$loginhash');" title="{lang getpassword}">忘记密码</a></td>
						
						</tr>
					</table>
				</div>

			

				<!--{if !empty($_G['setting']['pluginhooks']['logging_method'])}-->
					<div class="rfm bw0 {if empty($_GET['infloat'])} mbw{/if} " style="padding-top:37px;">
						<!--<hr class="l" />-->
						<table>
							<tr>
								<!--<th>{lang login_method}:</th>-->
								<td class="dl"><!--{hook/logging_method}--></td>
							</tr>
						</table>
					</div>
				<!--{/if}-->
			</div>
		</form>
	</div>
	<!--{if $_G['setting']['pwdsafety']}-->
		<script type="text/javascript" src="{$_G['setting']['jspath']}md5.js?{VERHASH}" reload="1"></script>
	<!--{/if}-->
	<div id="layer_lostpw_$loginhash" style="display: none;padding-top:55px;">
		
		<form method="post" autocomplete="off" id="lostpwform_$loginhash" class="cl" onsubmit="ajaxpost('lostpwform_$loginhash', 'returnmessage3_$loginhash', 'returnmessage3_$loginhash', 'onerror');return false;" action="member.php?mod=lostpasswd&lostpwsubmit=yes&infloat=yes">
			<div class="c cl">
				<input type="hidden" name="formhash" value="{FORMHASH}" />
				<input type="hidden" name="handlekey" value="lostpwform" />
				<div class="rfm" style="padding-top:0px;">
					<table>
					<th style="text-align:left;"><label for="lostpw_email">{lang email}</label><span class="rq" style="font-size: 10px;">（必填）</span></th>
						<tr>
							<td><input type="text" name="email" id="lostpw_email" size="30" value=""  tabindex="1" class="px p_fre" style="background:#fff;"/></td>
						</tr>
					</table>
				</div>
				<div class="rfm" style="padding-top:0px;">
					<table>
					<th style="text-align:left;"><label for="lostpw_username">{lang username}</label></th>
						<tr>	
							<td><input type="text" name="username" id="lostpw_username" size="30" value=""  tabindex="1" class="px p_fre" style="background:#fff;"/></td>
						</tr>
					</table>
				</div>

				<div class="rfm mbw bw0">
					<table>
						<tr>
							
							<td><button class="pn pnc" type="submit" name="lostpwsubmit" value="true" tabindex="100" style="width: 100px;background: #eee;border: 1px solid #ddd;color: #000 !important;"><span>取回密码</span></button></td>
						</tr>
					</table>
				</div>
			</div>
		</form>
	</div>
</div>

<div id="layer_message_$loginhash"{if empty($_GET['infloat'])} class="f_c blr nfl"{/if} style="display: none;">
	<h3 class="flb" id="layer_header_$loginhash">
		<!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}-->
		<em>{lang login_member}</em>
		<span><a href="javascript:;" class="flbc" onclick="hideWindow('login')" title="{lang close}">{lang close}</a></span>
		<!--{/if}-->
	</h3>
	<div class="c"><div class="alert_right">
		<div id="messageleft_$loginhash"></div>
		<p class="alert_btnleft" id="messageright_$loginhash"></p>
	</div>
</div>

<script type="text/javascript" reload="1">
<!--{if !isset($_GET['viewlostpw'])}-->
	var pwdclear = 0;
	function initinput_login() {
		document.body.focus();
		<!--{if !$auth}-->
			if($('loginform_$loginhash')) {
				$('loginform_$loginhash').username.focus();
			}
			<!--{if !$this->setting['autoidselect']}-->
				simulateSelect('loginfield_$loginhash');
			<!--{/if}-->
		<!--{elseif $seccodecheck && !(empty($_GET['auth']) || $questionexist)}-->
			if($('loginform_$loginhash')) {
				safescript('seccodefocus', function() {$('loginform_$loginhash').seccodeverify.focus()}, 500, 10);
			}			
		<!--{/if}-->
	}
	initinput_login();
	<!--{if $this->setting['sitemessage']['login']}-->
	showPrompt('custominfo_login_$loginhash', 'mouseover', '<!--{echo trim($this->setting['sitemessage'][login][array_rand($this->setting['sitemessage'][login])])}-->', $this->setting['sitemessage'][time]);
	<!--{/if}-->

	function clearpwd() {
		if(pwdclear) {
			$('password3_$loginhash').value = '';
		}
		pwdclear = 0;
	}
<!--{else}-->
	display('layer_login_$loginhash');
	display('layer_lostpw_$loginhash');
	$('lostpw_email').focus();
<!--{/if}-->
</script>

<!--{eval updatesession();}-->
<!--{if empty($_GET['infloat'])}-->
	</div></div></div></div>
</div>
<!--{/if}-->
<!--{template common/footer}-->
